This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 21, 2011, 10:30 AM
129 Posts

Re: Is showResult a global function name?

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: showResult
  • Replies: 2
It doesn't look like it's global from the XPages API.
 
Is the script library inserted (Resources) in a custom control/do you call it from a custom control and the script is in the XPage? 
 
To test if it's available, create a computed field with the value: 
typeof showResult
 
If the computed field value (in the browser) is undefined, the function isn't available. It should show function.
 
 
Jul 22, 2011, 1:50 AM
24 Posts
Re: Is showResult a global function name?
I also don't think it's a global function. I'm just confused by the weird output.
The function is defined in a library which is inserted as a resource.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal